<?php
class IndexAction extends Action {
	
    public function index()
    {
    	if($this->_session('username')!=null){
    		$this->display();
    	}else{
    		$this->redirect('Login/login');
    	}
    }
}